package com.grademaster.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 学院表
 * @TableName colleges
 */
@TableName(value ="colleges")
@Data
@ApiModel("学院表")
public class Colleges implements Serializable {
    /**
     * 学院ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("学院ID")
    private Long collegeId;

    /**
     * 学院名称
     */
    @ApiModelProperty("学院名称")
    private String collegeName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
